package com.renchi.menu.Leaving.dao;


import com.renchi.menu.Leaving.entity.LeavDbEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface LeavDbDao extends JpaRepository<LeavDbEntity,String> {
    @Query(value = "select *from bgd_data_leavdb where menu_url=?",nativeQuery = true)
    List<LeavDbEntity> findAllById(String menu_url);
}
